package com.artifact.mit.mypoint.model.api;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ProductItem extends BaseApiModel {

	@JsonProperty(value = "Token")
	private String token;
	
	@JsonProperty(value = "Products")
	private ProductItemDetail[] productItemDetails;
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class ProductItemDetail {
		@JsonProperty(value = "ID")
		private String id;
		
		@JsonProperty(value = "Category")
		private String category;
		
		@JsonProperty(value = "Name")
		private String name;
		
		@JsonProperty(value = "PricePoint")
		private String point;
		
		@JsonProperty(value = "UrlImage")
		private String urlImage;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getCategory() {
			return category;
		}

		public void setCategory(String category) {
			this.category = category;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getUrlImage() {
			return urlImage;
		}

		public void setUrlImage(String urlImage) {
			this.urlImage = urlImage;
		}

		public String getPoint() {
			return point;
		}

		public void setPoint(String point) {
			this.point = point;
		}

	}

	public ProductItemDetail[] getProductItemDetails() {
		return productItemDetails;
	}

	public void setProductItemDetails(ProductItemDetail[] productItemDetails) {
		this.productItemDetails = productItemDetails;
	}

	@Override
	public String getToken() {
		return this.token;
	}

	@Override
	public void setToken(String token) {
		this.token = token;
	}

}
